package mesweb.mesweb.mapper.procedure;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mesweb.mesweb.entity.Procedure.MesProcedure;
import mesweb.mesweb.vo.procecdure.MesProcedureVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author niufw
 * @since 2021-05-19
 */

public interface MesProcedureMapper extends BaseMapper<MesProcedure> {
      IPage<MesProcedureVo> getProcedures(Page page, @Param("ew") QueryWrapper queryWrapper);

      List<MesProcedureVo> getProcedures(@Param("ew") QueryWrapper queryWrapper);

      IPage<MesProcedureVo> getProcedureByRation(Page page, @Param("ew") QueryWrapper queryWrapper);

      List<MesProcedureVo> getProcedureByRation(@Param("ew") QueryWrapper queryWrapper);

      IPage<MesProcedureVo> getProcedureResources(Page page, @Param("ew") QueryWrapper queryWrapper);

      List<MesProcedureVo> getProcedureResources(@Param("ew") QueryWrapper queryWrapper);


}
